interface Info {
    name: string;
    age?: number;
    readonly sex: string;
    eat: () => void;
}
class Infos implements Info {
    name: string;
    age?: number | undefined;
    sex: string;
    eat: () => void;
}